package jsu.xxy.coffee3.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.time.LocalDateTime;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import net.sf.jsqlparser.expression.DateTimeLiteralExpression;

/**
 * 
 * @TableName staffs
 */
@TableName(value ="staffs")
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Staffs implements Serializable {
    /**
     * 
     */
    private Integer staffid;

    /**
     * 
     */
    private String name;

    /**
     * 
     */
    private String phonenumber;

    /**
     * 
     */
    private String gender;

    /**
     * 
     */
    private LocalDateTime birthday;

    /**
     * 
     */
    private Integer position;

    /**
     * 
     */
    private String password;

    /**
     * 
     */
    private Integer status;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    public Staffs(Object o, String name, String phonenumber, String gender, LocalDate birthday, String password) {
    }


    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", staff_id=").append(staffid);
        sb.append(", name=").append(name);
        sb.append(", phonenumber=").append(phonenumber);
        sb.append(", gender=").append(gender);
        sb.append(", birthday=").append(birthday);
        sb.append(", position=").append(position);
        sb.append(", password=").append(password);
        sb.append(", status=").append(status);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}